package com.jagochan.module.business.pojo.req;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import lombok.Data;

@Data
public class PhoneSendCodeReq {
    @NotNull(message = "手机号不能为空哦")
    @Pattern(regexp = "^1[3-9]\\d{8}$", message = "手机号格式不正确")
    private String phone;
}
